|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IProgressManager is an interface to the progress manager provided by the workbench. NOTE: This is experimental API and subject to change at any time.
Field Summary | |
static int |
LONG_OPERATION_MILLISECONDS
The time at which the busy cursor will be replaced with a progress monitor. |
Method Summary | |
void |
busyCursorWhile(IRunnableWithProgress runnable)
Set the cursor to busy and run runnable within the UI Thread. |
IStatus |
requestInUI(UIJob job,
String message)
Block the current thread until UIJob is served. |
Field Detail |
public static final int LONG_OPERATION_MILLISECONDS
Method Detail |
public IStatus requestInUI(UIJob job, String message)
job
- UIJobmessage
- The message that informs the user of the waiting UI job.
IllegalThreadStateException
- if this is called from the UIThread as we do not want to
block the UIThread to make a request in the UIThread.public void busyCursorWhile(IRunnableWithProgress runnable) throws InvocationTargetException, InterruptedException
runnable
-
InvocationTargetException
InterruptedException
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |